updating oE put_integer32

put_integer32

include io.e 
namespace io 
public procedure put_integer32(integer fh, atom val) 

writes the supplied integer as four bytes to a file.

Parameters:
  1. fh : an integer, the handle to an open file to write to.
  2. val : an integer
Comments:
  • This function is normally used with files opened in binary mode, "wb".
Example 1:
 
integer fn 
fn = open("temp", "wb") 
 
put_integer32(fn, 1234) 
See Also:

getc, gets, get_bytes, get_dstring

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu